Skip to main content

Modify Data files or Log files

Description

The plugin is designed to modify Data file or Log file in MSSQL server database. Following parameters can be modified:

  1. Logical Name
  2. Initial Size
  3. Auto Growth

Known Issue:
When you select values for Instance name or Port field from a previous step input (i.e. Generate Rows or Microsoft Excel Input etc.) the corresponding Port or Instance name is disabled but may be unlocked when revisited

Configurations

No.Field NameDescription
1Step NameName of the step. This name has to be unique in a single workflow.
Connection:
2Server NameThe Hostname/Server Name/IP of the MSSQL Server. This field is mandatory. Drop down is available.
3Instance nameThe instance name of MSSQL Server instance. One of the two fields Instance name or Port is mandatory. Only variables/static values are allowed.
4Port NumberThe port number of the MSSQL Server. One of the two fields Instance name or Port is mandatory. Only variables/static values are allowed.
5UsernameA username of the MSSQL Server. This field is mandatory.
Password
6Checkbox: Accept Value as variable/staticLeave checkbox unchecked to accept Password value from a field in the previous steps of the stream using a drop down list.
Else enable checkbox for Password field to appear as Text box.
7PasswordProvide the password of the username of MSSQL Server. Password is entered using a widget. The widget handles both Text Var(static value or environment variable) and Combo(drop down containing values from previous steps). This field is mandatory.
If checkbox above is enabled Password field appears as Text box. Else if checkbox above is disabled Password field appears as a drop down to select fields from previous steps.
8Other Connection ParameterSpecify multiple, semi-colon separated parameters other than the default connection parameters.
Other connection parameters will be appended to the default connection parameters.
Example of default connection parameters: Server Name, Password.
Examples of other connection parameters: encrypt=false;trustServerCertificate=false
Button
9Test ConnectionVerifies whether the connection is established or not.
NOTE: Test Connection button does not work for previous step fields. Test Connection button only works with static values and environment variables.
Input Fields
1Database NameName of the Database on which the datafile/log file is to be created or Select from the list populated by clicking Get Database Button. This field is mandatory.
2Button: Get databasePopulates the list of database from the connected Instance.
3Logical NameName of the data file or log file that is to be modified. This field is mandatory.
4Button:Get Logical NamePopulates the list of files from the selected database.
5New Logical NameNew name to the specified data file or log file. If value entered then Logical file name will be changed to the specified name
8Initial Size(in MB)Size of the file should be mentioned in MB.If a value is provided, then it is considered that you want to modify the Initial Size of the file chosen above.

NOTE: Get Database, Get File Group and Browse button does not work for previous step variables. All the buttons work only with static values and environment variables.

No.Field NameDescription
Autogrowth Fields:
1Enable AutogrowthAcceptable values are “Yes” or “No”. These are visible when you hover over the field. When value is Yes, it is considered that you want to enable Autogrowth for the file.If No is selected any entries made in the fields below is ignored.
File Growth
2Growth In Percent /In MBAcceptable values are Percent or MB. If Percent is chosen then you specify growth value in percent below. If MB is chosen you are specifying an absolute value for file growth.
3ValueSpecify the value for growth of a file in percent or MB as chosen above.
Maximum File Size:
4Unrestricted File GrowthAcceptable values are “Yes” or “No”. These are visible when you hover over the field. When value is Yes, you allow the Unlimited growth of the file. If Yes is selected any entries in the field below are ignored.
5Restricted File Growth(MB)If Unrestricted File Growth is No, specify the Restricted size to the file in MB
Output Fields
1ResultProvide the name of an output field to hold the result of the successful plugin execution. This field is mandatory.